package com.chuangke.admin.dao;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chuangke.admin.dao.mapper.SysMenuMapper;
import com.chuangke.admin.entity.SysMenu;

@Service
public class SysMenuDaoService extends ServiceImpl<SysMenuMapper, SysMenu> {
	
	@Autowired
	private SysMenuMapper sysMenuMapper;
	
	public List<SysMenu> findByUserName(String userName){
		return sysMenuMapper.findByUserName(userName) ;
	}

}
